Skip to main content

All Questions

0votes
2answers
425views

generate a password with minimum 2 numbers, 2 CAPS, 1 symbol, x lower alpha and max length of 16

I tried pwgen and makepasswd to generate a password... but these are not enough to generate with exact count of literals and numbers... pwgen -c -n -y -B 12 1 This is not working as expected as I ...
Akhil's user avatar
  • 1,350
1vote
3answers
173views

Random sampling and outputting the largest value

I have a fairly large data set ~500 million rows. The data set looks like below. Col 1 is float number, col 2 is mac id(device id) 1616.93,ac:22:0b:a6:22:c3 2872.32,c0:bd:d1:36:bb:49 3314.55,d4:0b:1a:...
user4943236's user avatar
5votes
4answers
3kviews

How to fill a file with a stream from /dev/urandom with a specified number of lines ?

I am trying to fill a file with a sequence of random 0 and 1s with a user-defined number of lines and number of characters per line. the first step is to get a random stream of 0 and 1s: cat /dev/...
Abdul Al Hazred's user avatar

close